//
//  HuiTool.h
//  huikandian
//
//  Created by ztfgz on 2018/9/18.
//  Copyright © 2018年 ztfgz. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface HuiTool : UIView


/**
 *  16进制颜色值转RGB
 *
 *  @param hexString 16进制字符串色值
 *
 *  @return RGB色值
 */
+ (UIColor *)colorWithHexString:(NSString *)hexString;

/**
 *
 *  根据颜色获取图片
 *
 */
+ (UIImage *)createImageWithColor:(UIColor *)color;

+(void)pushViewControllerSrc:(UIViewController*)src to:(UIViewController*)to animated:(BOOL)anim;
+(void)popViewController:(UIViewController*)uvc withAnim:(BOOL)anim;
@end
